package cn.csc.module.product.controller.admin.stocklock.vo;

import lombok.*;

import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.*;
import io.swagger.annotations.*;
import cn.csc.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 库存锁定信息 Excel 导出 Request VO", description = "参数和 SkuStockLockPageReqVO 是一致的")
@Data
public class SkuStockLockExportReqVO {

    @ApiModelProperty(value = "商品id")
    private BigInteger spuId;

    @ApiModelProperty(value = "sku id")
    private BigInteger skuId;

    @ApiModelProperty(value = "订单id")
    private BigInteger orderId;

    @ApiModelProperty(value = "状态-1已解锁 0待确定 1已锁定")
    private Byte status;

    @ApiModelProperty(value = "锁定库存数量")
    private Integer count;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
